#include<iostream>

int main()
{
    using namespace std;
    double miles,gallons;
    double liters,kilometers;
    cout << "Enter driving distance(miles):";
    cin >> miles;
    cout << "Enter gasline uesd(gallons):";
    cin >> gallons;
    double miles_per_gallons = miles/gallons;
    cout << "Enter driving distance(liters):";
    cin >> liters;
    cout << "Enter driving distance(kilometers):";
    cin >> kilometers;
    double liters_per_100_kilometers =   liters / ( 100 * kilometers);
    cout << "Enter the automobile gasoline consumption figure in" << endl;
    cout << "Europeanstyle(liters per 100 kilomerters):"  << liters_per_100_kilometers <<endl;
    cout << "Converts to U.S. style(miles per gallon):" << endl;
    cout << "100L/100Km=" << miles_per_gallons << "mpg\n";

    return 0;
}